package com.atguigu.springcloud.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @USER: dayu Administrator
 * @DATE: 2020/3/26
 * @DESCRIPTION: 自定义配置openFeign的日志打印功能
 * 需要再在yml配置文件中，开启feign日志
 */
@Configuration
public class FeignConfig {

    @Bean
    Logger.Level feignLoggerLevel(){
        return Logger.Level.FULL;
    }
}
